TBC Editor v1.60 for XE6-DX10.1 Berlin Full Source
A syntax highlighting edit control for RAD Studio (Delphi/C++ Builder) with code folding, completion proposal, matching pair, minimap, sync edit, multi-caret editing, word wrap, etc. External highlighter and color scheme files are in JSON format which can be also loaded from a stream.
Build requirements
- Json Data Objects (included)
- Delphi versions XE4, XE5, XE6, XE7, XE8, Seattle, and Berlin are supported
- C++ Builder versions XE7, XE8, and Seattle are supported
Note! Do not offer me older versions to support. I don't have time to keep up with those.
Conditional compilation
| Define | Description |
|---|---|
| USE_ALPHASKINS | Use [AlphaSkins](http://blankrefer.com/?http://www.alphaskins.com/). AlphaSkins are most powerful theming solutions for apps developed in Delphi. |
| USE_VCL_STYLES | Use VCL styles. A set of graphical details that define the look and feel of a VCL application. |
Usage example
with BCEditor1 do begin Highlighter.LoadFromFile('JSON.json'); Highlighter.Colors.LoadFromFile('Default.json'); LoadFromFile(GetHighlighterFileName('JSON.json')); ... Lines.Text := Highlighter.Info.General.Sample; end;
Note! LoadFromStream does not support multi-highlighters (for example HTML with Scripts.json). Override TBCBaseEditor.CreateFileStream function, if you want to load multi-highlighters from a stream.
